import {Profile} from '@/views/types/user'
const KET = 'count-vue-75'
export function setProfile(profile:Profile):void{
   localStorage.setItem(KET,JSON.stringify(profile))
}

export function getProfile(profile:Profile):void{
 return JSON.parse(localStorage.getItem(KET) || '{}')
}

export function removeProfile() {
  localStorage.removeItem(KET)
}